﻿@{
    ViewBag.Title = "RemoveEvent";
    Layout = "~/Views/Shared/_Page.cshtml";
}

<h2>Remove Event</h2>

<button id="btnSubmit">Submit</button>
<button id="btnRemove">Remove Event Handler</button>

<script type="text/javascript">
    $(document).ready(function () {
        $("#btnSubmit").on("click", function () {
            ZEUS.DEBUG.log("Submit button is clicked.");
        });

        $("#btnRemove").on("click", function () {
            $("#btnSubmit").off("click");
        });
    });
</script>
